<h1><%= Region.l_attr('editing region') %></h1>

<%= error_messages_for :region %>

<% form_for(@region) do |f| %>
  <p>
    <strong><%= l(:common, :name) %></strong><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <strong><%= Region.l_attr(:latlon) %></strong><br />
    <%= f.text_field :latlon %>
  </p>

  <p>
    <strong><%= Region.l_attr(:zoom) %></strong><br />
    <%= f.text_field :zoom %>
  </p>

  <p>
    <%= f.submit l(:common, :update) %>
  </p>
<% end %>


<%= link_to l(:common, :show), @region %> |
<%= link_to l(:common, :back), regions_path %>
